package controllers;

import models.Login;

public class LoginApplication extends Application {
	Login login;
	
	public LoginApplication(){
		login = new Login();
	}
	
	public static void login(String name, String password){
		System.out.println(name);
		System.out.println(password);
		if(name!=null && password !=null && !"".equals(name) && !"".equals(password)){
			redirect("/login.html");
		}else{
			redirect("/loginNOK.html");
		}
		
	}
}
